\hypertarget{shellpp_8h}{
\section{shellpp.h File Reference}
\label{shellpp_8h}\index{shellpp.h@{shellpp.h}}
}
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stddef.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include $<$fcntl.h$>$}\par
{\ttfamily \#include $<$unistd.h$>$}\par
{\ttfamily \#include $<$limits.h$>$}\par
{\ttfamily \#include $<$readline/readline.h$>$}\par
{\ttfamily \#include $<$readline/history.h$>$}\par
{\ttfamily \#include $<$sys/types.h$>$}\par
{\ttfamily \#include $<$sys/wait.h$>$}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{shellpp_8h_ab9df1eab5dc2405f26afea12742dd038}{WORD\_\-DELIM}~\char`\"{} \char`\"{}
\begin{DoxyCompactList}\small\item\em shell++ main header file \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_acc74efdd29e34bab649ad665326edfe6}{MAX\_\-WORDS}~100
\begin{DoxyCompactList}\small\item\em Sets th maximum number of words. \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_a29b7451465deac204c5f7cb1f9c6e1fc}{MAX\_\-ARGS}~20
\begin{DoxyCompactList}\small\item\em Maximum arguments. \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_ac7c0207aa5a0e10d378be03b68041350}{MAX\_\-NAME}~20
\begin{DoxyCompactList}\small\item\em the max lengh a process name can have \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_abe0ec333b60117063f9b9fd9f849cb08}{MAX\_\-FILENAME}~20
\begin{DoxyCompactList}\small\item\em max filename lengh \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_ac00bfb46347d26fdc58568fe1ab5fa5b}{STDIN}~0
\begin{DoxyCompactList}\small\item\em sets stdin to 0 \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_a8875037d0772a4fc34516f1e03d7e238}{STDOUT}~1
\begin{DoxyCompactList}\small\item\em sets stdout to 1 \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_a1afac1c04cccaddf1fb0159c0f044f4c}{MAX\_\-LEN\_\-SINGLE\_\-LINE}~120
\begin{DoxyCompactList}\small\item\em sets max single line \item\end{DoxyCompactList}\item 
\#define \hyperlink{shellpp_8h_abca76f81dda7b313e54c398351445190}{F\_\-RUNAND}~(1 $<$$<$ 0)
\item 
\#define \hyperlink{shellpp_8h_aa006a3105adb42f4ad8514c60d0943a1}{F\_\-RUNOR}~(1 $<$$<$ 1)
\item 
\#define \hyperlink{shellpp_8h_a3acaf712d47f6ea71900b11f6ae7e3fc}{F\_\-RUNBG}~(1 $<$$<$ 2)
\item 
\#define \hyperlink{shellpp_8h_a5c7704208161fb0d37e2c1ec408799ae}{F\_\-PIPE}~(1 $<$$<$ 3)
\item 
\#define \hyperlink{shellpp_8h_a8b4dbb223d13c9632b48206891cacc1e}{F\_\-STDIN}~(1 $<$$<$ 4)
\item 
\#define \hyperlink{shellpp_8h_a63a2c67a76633494e7d342c6cc482626}{F\_\-STDOUT}~(1 $<$$<$ 5)
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef short unsigned int \hyperlink{shellpp_8h_a89b75b3e581787cfcd68cec5e6b6dee8}{FLAG}
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{shellpp_8h_a5c7704208161fb0d37e2c1ec408799ae}{
\index{shellpp.h@{shellpp.h}!F\_\-PIPE@{F\_\-PIPE}}
\index{F\_\-PIPE@{F\_\-PIPE}!shellpp.h@{shellpp.h}}
\subsubsection[{F\_\-PIPE}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-PIPE~(1 $<$$<$ 3)}}
\label{shellpp_8h_a5c7704208161fb0d37e2c1ec408799ae}


Definition at line 65 of file shellpp.h.

\hypertarget{shellpp_8h_abca76f81dda7b313e54c398351445190}{
\index{shellpp.h@{shellpp.h}!F\_\-RUNAND@{F\_\-RUNAND}}
\index{F\_\-RUNAND@{F\_\-RUNAND}!shellpp.h@{shellpp.h}}
\subsubsection[{F\_\-RUNAND}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-RUNAND~(1 $<$$<$ 0)}}
\label{shellpp_8h_abca76f81dda7b313e54c398351445190}


Definition at line 62 of file shellpp.h.

\hypertarget{shellpp_8h_a3acaf712d47f6ea71900b11f6ae7e3fc}{
\index{shellpp.h@{shellpp.h}!F\_\-RUNBG@{F\_\-RUNBG}}
\index{F\_\-RUNBG@{F\_\-RUNBG}!shellpp.h@{shellpp.h}}
\subsubsection[{F\_\-RUNBG}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-RUNBG~(1 $<$$<$ 2)}}
\label{shellpp_8h_a3acaf712d47f6ea71900b11f6ae7e3fc}


Definition at line 64 of file shellpp.h.

\hypertarget{shellpp_8h_aa006a3105adb42f4ad8514c60d0943a1}{
\index{shellpp.h@{shellpp.h}!F\_\-RUNOR@{F\_\-RUNOR}}
\index{F\_\-RUNOR@{F\_\-RUNOR}!shellpp.h@{shellpp.h}}
\subsubsection[{F\_\-RUNOR}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-RUNOR~(1 $<$$<$ 1)}}
\label{shellpp_8h_aa006a3105adb42f4ad8514c60d0943a1}


Definition at line 63 of file shellpp.h.

\hypertarget{shellpp_8h_a8b4dbb223d13c9632b48206891cacc1e}{
\index{shellpp.h@{shellpp.h}!F\_\-STDIN@{F\_\-STDIN}}
\index{F\_\-STDIN@{F\_\-STDIN}!shellpp.h@{shellpp.h}}
\subsubsection[{F\_\-STDIN}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-STDIN~(1 $<$$<$ 4)}}
\label{shellpp_8h_a8b4dbb223d13c9632b48206891cacc1e}


Definition at line 66 of file shellpp.h.

\hypertarget{shellpp_8h_a63a2c67a76633494e7d342c6cc482626}{
\index{shellpp.h@{shellpp.h}!F\_\-STDOUT@{F\_\-STDOUT}}
\index{F\_\-STDOUT@{F\_\-STDOUT}!shellpp.h@{shellpp.h}}
\subsubsection[{F\_\-STDOUT}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-STDOUT~(1 $<$$<$ 5)}}
\label{shellpp_8h_a63a2c67a76633494e7d342c6cc482626}


Definition at line 67 of file shellpp.h.

\hypertarget{shellpp_8h_a29b7451465deac204c5f7cb1f9c6e1fc}{
\index{shellpp.h@{shellpp.h}!MAX\_\-ARGS@{MAX\_\-ARGS}}
\index{MAX\_\-ARGS@{MAX\_\-ARGS}!shellpp.h@{shellpp.h}}
\subsubsection[{MAX\_\-ARGS}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-ARGS~20}}
\label{shellpp_8h_a29b7451465deac204c5f7cb1f9c6e1fc}


Maximum arguments. 



Definition at line 53 of file shellpp.h.

\hypertarget{shellpp_8h_abe0ec333b60117063f9b9fd9f849cb08}{
\index{shellpp.h@{shellpp.h}!MAX\_\-FILENAME@{MAX\_\-FILENAME}}
\index{MAX\_\-FILENAME@{MAX\_\-FILENAME}!shellpp.h@{shellpp.h}}
\subsubsection[{MAX\_\-FILENAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-FILENAME~20}}
\label{shellpp_8h_abe0ec333b60117063f9b9fd9f849cb08}


max filename lengh 



Definition at line 55 of file shellpp.h.

\hypertarget{shellpp_8h_a1afac1c04cccaddf1fb0159c0f044f4c}{
\index{shellpp.h@{shellpp.h}!MAX\_\-LEN\_\-SINGLE\_\-LINE@{MAX\_\-LEN\_\-SINGLE\_\-LINE}}
\index{MAX\_\-LEN\_\-SINGLE\_\-LINE@{MAX\_\-LEN\_\-SINGLE\_\-LINE}!shellpp.h@{shellpp.h}}
\subsubsection[{MAX\_\-LEN\_\-SINGLE\_\-LINE}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-LEN\_\-SINGLE\_\-LINE~120}}
\label{shellpp_8h_a1afac1c04cccaddf1fb0159c0f044f4c}


sets max single line 



Definition at line 58 of file shellpp.h.

\hypertarget{shellpp_8h_ac7c0207aa5a0e10d378be03b68041350}{
\index{shellpp.h@{shellpp.h}!MAX\_\-NAME@{MAX\_\-NAME}}
\index{MAX\_\-NAME@{MAX\_\-NAME}!shellpp.h@{shellpp.h}}
\subsubsection[{MAX\_\-NAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-NAME~20}}
\label{shellpp_8h_ac7c0207aa5a0e10d378be03b68041350}


the max lengh a process name can have 



Definition at line 54 of file shellpp.h.

\hypertarget{shellpp_8h_acc74efdd29e34bab649ad665326edfe6}{
\index{shellpp.h@{shellpp.h}!MAX\_\-WORDS@{MAX\_\-WORDS}}
\index{MAX\_\-WORDS@{MAX\_\-WORDS}!shellpp.h@{shellpp.h}}
\subsubsection[{MAX\_\-WORDS}]{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-WORDS~100}}
\label{shellpp_8h_acc74efdd29e34bab649ad665326edfe6}


Sets th maximum number of words. 



Definition at line 52 of file shellpp.h.

\hypertarget{shellpp_8h_ac00bfb46347d26fdc58568fe1ab5fa5b}{
\index{shellpp.h@{shellpp.h}!STDIN@{STDIN}}
\index{STDIN@{STDIN}!shellpp.h@{shellpp.h}}
\subsubsection[{STDIN}]{\setlength{\rightskip}{0pt plus 5cm}\#define STDIN~0}}
\label{shellpp_8h_ac00bfb46347d26fdc58568fe1ab5fa5b}


sets stdin to 0 



Definition at line 56 of file shellpp.h.

\hypertarget{shellpp_8h_a8875037d0772a4fc34516f1e03d7e238}{
\index{shellpp.h@{shellpp.h}!STDOUT@{STDOUT}}
\index{STDOUT@{STDOUT}!shellpp.h@{shellpp.h}}
\subsubsection[{STDOUT}]{\setlength{\rightskip}{0pt plus 5cm}\#define STDOUT~1}}
\label{shellpp_8h_a8875037d0772a4fc34516f1e03d7e238}


sets stdout to 1 



Definition at line 57 of file shellpp.h.

\hypertarget{shellpp_8h_ab9df1eab5dc2405f26afea12742dd038}{
\index{shellpp.h@{shellpp.h}!WORD\_\-DELIM@{WORD\_\-DELIM}}
\index{WORD\_\-DELIM@{WORD\_\-DELIM}!shellpp.h@{shellpp.h}}
\subsubsection[{WORD\_\-DELIM}]{\setlength{\rightskip}{0pt plus 5cm}\#define WORD\_\-DELIM~\char`\"{} \char`\"{}}}
\label{shellpp_8h_ab9df1eab5dc2405f26afea12742dd038}


shell++ main header file 

Sets empty char as word separation 

Definition at line 51 of file shellpp.h.



\subsection{Typedef Documentation}
\hypertarget{shellpp_8h_a89b75b3e581787cfcd68cec5e6b6dee8}{
\index{shellpp.h@{shellpp.h}!FLAG@{FLAG}}
\index{FLAG@{FLAG}!shellpp.h@{shellpp.h}}
\subsubsection[{FLAG}]{\setlength{\rightskip}{0pt plus 5cm}typedef short unsigned int {\bf FLAG}}}
\label{shellpp_8h_a89b75b3e581787cfcd68cec5e6b6dee8}


Definition at line 69 of file shellpp.h.

